package com.qingke.POJO;

import com.opensymphony.xwork2.Action;

public class HelloInterfaceAction implements Action{
	private String word;
	private Message message;
	
	public HelloInterfaceAction(){
		
	}
	
	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public String execute() throws Exception {
		word = "basic interface action";
		message = new Message();
		message .setMessage("implement action");
		message.setName(this.getClass().getName());
		return SUCCESS;
			
		}
	}

